<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:replace="include/css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/publicAsk.css">
    <meta charset="UTF-8">
    <title>提问</title>
</head>
<body>
<th:block th:replace="include/header:: header"/>
<div class="main">
    <div class="container">
        <form id="postBbsForm">
            <input type="hidden" name="content" id="richContent"/>
            <div class="row">
                <div class="form-group" id="topicTitle">
                    <label class="col-xs-1 control-label"> <em class="important">*</em>
                        标题:
                    </label>
                    <div class="col-xs-10">
                        <input class="form-control" name="title" id="title"/>
                    </div>
                </div>
            </div>


            <div class="row">
                <div class="form-group" id="ueContent">
                    <label class="col-xs-1 control-label"> <em class="important">*</em>
                        内容:
                    </label>
                    <div class="col-xs-10">
                        <script id="editor" type="text/plain" style="width:950px;height:300px;"></script>
                    </div>
                </div>
            </div>


            <div class="row">
                <div class="form-group" id="needMark">
                    <label class="col-xs-1 control-label">&nbsp;&nbsp;&nbsp;
                        积分:
                    </label>
                    <div class="col-xs-1">
                        <input class="form-control" name="mark" id="mark" value="0"/>
                    </div>
                    <div class="col-xs-4">
                        <span class="info">你还有：<span class="left-mark" id="my-mark" th:text="${myCount}"></span>&nbsp;分，打赏积分回答的人会更多哦。</span>
                    </div>
                </div>
            </div>
        </form>


        <div class="row">
            <div class="col-xs-10"></div>
            <button class="btn btn-info" id="postExamBtn">发表问题</button>
        </div>

    </div>

</div>
<th:block th:replace="include/footer:: footer"/>
<th:block th:replace="include/top"/>
<script type="text/javascript" src="/static/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/static/ueditor/ueditor.all.js"></script>
<script type="text/javascript" charset="utf-8" src="/static/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" charset="utf-8" src="/static/ueditor/MyActionUrl.js"></script>
<script type="text/javascript" src="/static/js/publicAsk.js"></script>

</body>
</html>